package com.etc.order.common.service;

import com.etc.order.common.domain.OrderDetail;

import java.util.List;

public interface OrderDetailService {

    /**
     * 根据订单id查询订单详情
     * @param orderId
     * @return
     */
    List<OrderDetail> findOrderDetailByOrderId(String orderId, int pageIndex, int pageSize);

    OrderDetail getOne(String detailId);

    int getTotalCount(String orderId);

    List<OrderDetail> findAll(int pageIndex, int pageSize);
}
